/*
 * test_dlopen.cpp
 *
 *  Created on: Feb 18, 2014
 *      Author: killerg
 */



#include <dlfcn.h>
#include <stdio.h>


bool test_dlopen() {
	void *dlhandle = dlopen("libcouchbase_libevent.so", RTLD_NOW | RTLD_LOCAL);
	if (0 == dlhandle) {
		printf("%s\n", dlerror());
		return false;
	}

	return true;
}
